package com.example.devicemanage.entity;

public class Apply {
    private int aid;
    private String category;
    private String ename;
    private String model;
    private String spec;
    private float price;
    private int num;
    private String uname;
    private int state;
    private String date;

    public Apply(){

    }

    public Apply(int aid, String category, String ename, String model, String spec, float price, int num, String uname, int state, String date) {
        this.aid = aid;
        this.category = category;
        this.ename = ename;
        this.model = model;
        this.spec = spec;
        this.price = price;
        this.num = num;
        this.uname = uname;
        this.state = state;
        this.date = date;
    }

    public int getAid() {
        return aid;
    }

    public void setAid(int aid) {
        this.aid = aid;
    }

    public String getCategory() {
        return category;
    }

    public void setCategory(String category) {
        this.category = category;
    }

    public String getEname() {
        return ename;
    }

    public void setEname(String ename) {
        this.ename = ename;
    }

    public String getModel() {
        return model;
    }

    public void setModel(String model) {
        this.model = model;
    }

    public String getSpec() {
        return spec;
    }

    public void setSpec(String spec) {
        this.spec = spec;
    }

    public float getPrice() {
        return price;
    }

    public void setPrice(float price) {
        this.price = price;
    }

    public int getNum() {
        return num;
    }

    public void setNum(int num) {
        this.num = num;
    }

    public String getUname() {
        return uname;
    }

    public void setUname(String uname) {
        this.uname = uname;
    }

    public int getState() {
        return state;
    }

    public void setState(int state) {
        this.state = state;
    }

    public String getDate() {
        return date;
    }

    public void setDate(String date) {
        this.date = date;
    }

    @Override
    public String toString() {
        return "Apply{" +
                "aid=" + aid +
                ", category='" + category + '\'' +
                ", ename='" + ename + '\'' +
                ", model='" + model + '\'' +
                ", spec='" + spec + '\'' +
                ", price=" + price +
                ", num=" + num +
                ", uname='" + uname + '\'' +
                ", state=" + state +
                ", date='" + date + '\'' +
                '}';
    }
}
